FROM java:8
VOLUME /tmp
COPY target/hello-1.0-SNAPSHOT.jar hello.jar
RUN bash -c "touch /hello.jar"
EXPOSE 8080
ENTRYPOINT ["java","-jar","hello.jar"]